package util;

/**
 * Created by Administrator on 2016/5/5.
 * 接口   123.207.119.229:8081
 * 本地云       http://123.207.110.98:8090   http://14.116.146.113:8083
 * http://119.29.54.250:8090
 */
public class Url {
    private static Url mUrl;
    public static String mAppIP ="http://123.207.110.98:8080/wifi/TransferServlet";           //app域名http://123.207.119.229:8080/wifi/TransferServlet（后台可替换）
    public static String mATIAIRIP ="http://119.29.54.250:8090";
    public static String mSSIDSERVER ="http://119.29.54.250:8090/proxyservice/TransferServlet";
    public static String mWINATIAIRIP ="http://123.207.119.229:8081";                          //Win云ip
    public static final String mStirngUpdate = "version_versionNumber";                        //版本更新
    public static final String mStirngPhoneVerification = "authcode_PhoneVerification";       //获取手机验证码
    public static final String mStirngLogin_manuLogin = "login_accountEnroll";               //手动登录
    public static final String mStirngUrl_getlinks = "url_getlinks";                       //首页一个请求
    public static final String mStirngUrl_pageHome = "url_pageHome";                      //主页的数据
    public static final String mStirngMycenter_headImgUrl = "mycenter_headImgUrl";       //用户头像路径
    public static final String mStirngMycenter_deleteUserImg = "mycenter_deleteUserImg";     //删除图片
    public static final String mStirngBinding_addBinding = "binding_addBinding";            //绑定账号
    public static final String mStirngBinding_relieveBinding = "binding_relieveBinding";   //绑定账号
    public static final String mStirngBinding_bindingList = "binding_bindingList";       //绑定账号列表
    public static final String mStirngMycenter_saveFeedback = "mycenter_saveFeedback";  //意见反馈
    public static final String mStirngLoginout_loginOut = "loginout_loginOut";         //退出登录
    public static final String mStirngVersion_isAlive = "version_isAlive";            //验证是否连通
    public static final String mStirngLogin_visitorLogin = "login_visitorLogin";     //自动登录
    public static final String mStirngNetwork_linkedNet = "network_linkedNet";      //直接联网接口
    public static final String mStirngNetwork_timingNet = "network_timingNet";     //免费联网接口
    public static final String mStirngNetwork_planNet = "network_planNet";        //预约联网
    public static final String mStirngNetwork_verifyNet = "network_verifyNet";  //验证联网接口
    public static final String mStirngBinding_areaList = "binding_areaList";   //可绑定列表
    public static final String mStirngUserContent_updateContent = "userContent_updateContent";//修改信息
    public static final String mStirngUserContent_updatePhone = "userContent_updatePhone";   //修改手机号
    public static final String mStirngAccredit_createNetQr = "accredit_createNetQr";         //授权二维码内容
    public static final String mStirngAccredit_checkNetQr = "accredit_checkNetQr";          //检查授权
    public static final String mStirngAccredit_verifyNetQr = "accredit_verifyNetQr";       //手机授权上网-授权
    public static final String mStirngAccredit_infoNetQr = "accredit_infoNetQr";          //手机授权上网UI的信息
    public static final String mStirngpcNetQr_pcQrselfNet = "pcNetQr_pcQrselfNet";       //pc授权本人上网
    public static final String mStirngpcNetQr_pcQrotherNet = "pcNetQr_pcQrotherNet";    //pc授权他人上网
    public static final String mStirngpcUrl_cameraUrl = "url_cameraUrl";               //摄像头
    public static final String mStirngpcDeal_selectBalance = "deal_selectBalance";    //余额查询
    public static final String mStirngpcDeal_selectVipmember = "deal_selectVipmember"; //查询vip
    public static final String mStirngpcNetwork_tempNet = "network_tempNet";          //临时上网
    public static final String mStirngpcNetwork_offNet = "network_offNet";           //断开网络

    public static synchronized Url getUrlNew(){
        if (mUrl == null){
            return mUrl = new Url();
        }
        return mUrl;
    }
    // 登入背景图接口
    public static final String REGISTER_BACKROUND = "/wifi/StartPage/login_loginImg.action";


    //牛号页,上传头像
    public static final String UploaDing_IMAGE="/wifi/userCenter/mycenter_uploadHead.action";


    //日志上传sweepLogin.action
    public static final String UPLOAD_LOG="/wifi/Log/userlog_uploadLog.action";

    /**
     * 支付宝
     */
    public static final String WFQ_LIPAY = "/altair_pay/getparams.do";

    /**
     * 微信
     */
    public static final String WFQ_WXPAY = "/altair_pay/wxPay/topreparepay.do";

    /**
     * 支付结果回调
     */
    public static final String WFQ_QUERY= "/altair_pay/QueryPay.do";

    /**
     * 余额购买 network_planAdd
     */
    public String BALANCE= "/internet/tovip/vipbalance.do";

    /**
     * 我的钱包
     */
    public String WALLET= "/internet/tovip/vipobtain.do";

    /**
     * 查询 优惠券
     */
    public String QUERY_COUPON = "ticket_userTicket";

    /**
     * 领取优惠券
     */
    public String RECEIVE_COUPON = "ticket_getTicket";

    /**
     * 手机授权pc 联网（自己）
     */
    public String PCNetQr_pcQrselfNet = "pcNetQr_pcQrselfNet";

    /**
     * 续约
     */
    public String network_planAdd = "network_planAdd";

    /**
     * 会员预约时间内连接网络
     */
    public String network_planInNet = "network_planInNet";

    /**
     * 列表优惠券
     */
    public String LIST_COUPON = "ticket_ticketList";

    /**
     *地图
     */
    public String showMap ="map_showMap";

    /**
     *分享码的 生成
     */
    public String recomment_outputCode ="recomment_outputCode";

    /**
     * 上网选择时长的列表
     */
    public String url_planNetSchedule = "url_planNetSchedule";

    /**
     * 模式接口
     */
    String property_payoffWay = "property_payoffWay";

    /**
     *  提交检测数据
     */
    public String version_testDate = "version_testDate";

    /**
     *  广告列表  url_pageHome
     */
    public String url_pageHome = "url_pageHome";


    /**
     * 扫码报障
     */
    public String Phonelogin = "/NewProtect/manage/phonelogin.do";

    /**
     * 查询价格   http://123.207.119.229:8081/NewProtect/applogin/tologinappwarn.do
     */
    public String Time_Money = "/internet/member/selprice.do";

    /**
     *  白名单权限控制接口   deal_saveCombo
     */
    public String Whitelist = "http://139.199.72.236:8081/protal/validate/managelist.do";

    /**
     *  联系客户
     */
    public String Customer = "http://119.29.54.250:8090/NewFiPortal/moportal/contact.do";

    /**
     * 查看 套餐和会员信息
     */
    public String vipmySelf = "/internet/tovip/vipmyself.do";

    /**
     *  会员、套餐  购买
     */
    public String vipdePosit = "/internet/tovip/vipdeposit.do";

    /**
     *  去拿推送数据
     */
    public String getPullData = "/pusher/pull/pullInfo.action";

    /**
     *  后台管理
     */
    public String login_VerifyLogin = "/wifiBAM/access/login_verifyLogin.action";

    /**
     * 修改后的头像
     */
    private String WE_PORTRAIT = "";

    /**
     * 记录联网成功后的状态
     * 1为成功放行
     */
    private int notifation_state = 1;

    /**
     * 记录联网成功后的状态
     * 1为成功放行
     */
    private int NETWORKING_ATATE = 0;

    /**
     * 记录后台返回的日志上传状态
     * false 为不需要 true为需要
     */
    private boolean isLogUploadsState = false;

    /**
     * 是否需要更新更新wifi的UI
     */
    private boolean isonResumeJudge = true;

    /**
     * 网络状态改变时记录
     */
    private boolean netWorkstateState = false;

    /**
     * 是否要发送通知
     */
    private boolean isNotification = true;

    public String getAppIP() {
        return mAppIP;
    }

    public void setAppIP(String appIP) {
        mAppIP = appIP;
    }

    public String getWE_PORTRAIT() {
        return WE_PORTRAIT;
    }

    public void setWE_PORTRAIT(String WE_PORTRAIT) {
        this.WE_PORTRAIT = WE_PORTRAIT;
    }

    public String getQUERY_COUPON() {
        return QUERY_COUPON;
    }

    public String getLIST_COUPON() {
        return LIST_COUPON;
    }

    public String getRECEIVE_COUPON() {
        return RECEIVE_COUPON;
    }

    public int getNotifation_state() {
        return notifation_state;
    }

    public void setNotifation_state(int notifation_state) {
        this.notifation_state = notifation_state;
    }

    public boolean isNetWorkstateState() {
        return netWorkstateState;
    }

    public void setNetWorkstateState(boolean netWorkstateState) {
        this.netWorkstateState = netWorkstateState;
    }

    public void setNETWORKING_ATATE(int NETWORKING_ATATE) {
        this.NETWORKING_ATATE = NETWORKING_ATATE;
    }

    public int getNETWORKING_ATATE() {
        return NETWORKING_ATATE;
    }

    public void setLogUploadsState(boolean logUploadsState) {
        isLogUploadsState = logUploadsState;
    }

    public boolean isLogUploadsState() {
        return isLogUploadsState;
    }

    public boolean isonResumeJudge() {
        return isonResumeJudge;
    }

    public void setIsonResumeJudge(boolean isonResumeJudge) {
        this.isonResumeJudge = isonResumeJudge;

    }

    public boolean isNotification() {
        return isNotification;
    }

    public void setNotification(boolean notification) {
        isNotification = notification;
    }
}
